import Vue from 'vue'
import vuex from 'vuex'

Vue.use(vuex);

// 引入子模块
import user from '@/store/modules/user'
import app from '@/store/modules/app'
import tab from "@/store/modules/tab";
import menu from "@/store/modules/menu";

const store = new vuex.Store({
  modules: {
    app: app,
    user: user,
    tab: tab,
    menu: menu
  }
})

export default store
